package com.example.associationmanager.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data//生成get,set
@TableName("association_activity")
public class Activity {
    @TableId(value = "activity_id",type = IdType.AUTO)
    private Integer activityId;//活动唯一id
    private String activityTitle;//活动主题
    private String activityPlace;//活动地点
    private String activityTime;//活动时间
    private String activityContent;//活动内容
    private Integer activityAssociationId;//所属社团
    private String activityStatus;//活动状态


    public Activity(Integer activityId, String activityTitle, String activityPlace, String activityTime, String activityContent, Integer activityAssociationId, String activityStatus) {
        this.activityId = activityId;
        this.activityTitle = activityTitle;
        this.activityPlace = activityPlace;
        this.activityTime = activityTime;
        this.activityContent = activityContent;
        this.activityAssociationId = activityAssociationId;
        this.activityStatus = activityStatus;
    }

    public Activity() {
    }

}
